package com.whcoding.rabbitmq.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Manager
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain=true) //链式写法
public class OrmDeptVO implements Serializable {
    private Long id;
    private Integer deptId;
    private String deptNo;
    private String deptName;
   @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
    private BigDecimal deptPerf;
    private Integer isValidFlag;
    private String shortName;
    private String remark;
}
